from flask import redirect


from basic.config import GlobalInfo, GlobalCfg
from modules.module import WebsiteModule


class ZbFindHuman(WebsiteModule):
    def __init__(self, parent):
        super(ZbFindHuman, self).__init__(parent, 'zbfindhuman', '周斌找人网站，找gitee上的人是谁。')
        self.address = GlobalCfg.zb_find_human_address

    def homepage(self):
        return redirect(self.address, code=301)

